﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddDescritivoPacote.aspx.cs" Inherits="NewTierra.Pages.AddDescritivoPacote" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxtoolkit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link rel="shortcut icon" href="../../images/Icones/favicon.ico" type="image/x-icon" />

    <link href="../../Styles/jquery_notification.css" rel="stylesheet" />

    <link href="../../Styles/jquery-ui.css" rel="stylesheet" />    
    <script type="text/javascript" src="../../Scripts/jquery-1.11.0.js"></script>
    <script type="text/javascript" src="../../Scripts/jquery-ui-1.10.0.js"></script>

    <script type="text/javascript" src="../../Scripts/jquery_notification_v.1.js"></script>

    <link href="../../Styles/EstiloGeral.css" rel="stylesheet" type="text/css" />

    <title></title>

    <style type="text/css">
        #AddDescritivos
        {
            height: 490px;
            margin-top: 10px;
            margin-left: 5px;
        }
    </style>

    <script type="text/javascript">
        function showAutoCloseMessage(MsgsExc) {
            showNotification({
                message: MsgsExc,
                autoClose: true,
                type: "success",
                duration: 5
            });
        }
            </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

        <div id="AddDescritivos">

            <asp:UpdatePanel ID="UpdatePanelForm" runat="server" UpdateMode="Conditional">
                <ContentTemplate>

                    <fieldset style="width: 729px; height: 478px;">
                        <legend>Cadastrar Descritivos</legend>

                        <ajaxtoolkit:TabContainer ID="TabContainerDescritivos" runat="server" Height="350px" Width="700px" Style="margin-top: 10px">
                            
                            <ajaxtoolkit:TabPanel ID="tab0" runat="server" HeaderText="Dia: 1" Visible="false" TabIndex="0">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed0" Width="680px" Height="350px" runat="server" NoUnicode="true" />
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab1" runat="server" HeaderText="Dia: 2" Visible="false" TabIndex="1">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed1" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab2" runat="server" HeaderText="Dia: 3" Visible="false" TabIndex="2">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed2" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab3" runat="server" HeaderText="Dia: 4" Visible="false" TabIndex="3">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed3" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab4" runat="server" HeaderText="Dia: 5" Visible="false" TabIndex="4">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed4" Width="680px" Height="350px" runat="server" />
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab5" runat="server" HeaderText="Dia: 6" Visible="false" TabIndex="5">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed5" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab6" runat="server" HeaderText="Dia: 7" Visible="false" TabIndex="6">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed6" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab7" runat="server" HeaderText="Dia: 8" Visible="false" TabIndex="7">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed7" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab8" runat="server" HeaderText="Dia: 9" Visible="false" TabIndex="8">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed8" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>

                            <ajaxtoolkit:TabPanel ID="tab9" runat="server" HeaderText="Dia: 10" Visible="false" TabIndex="9">
                                <ContentTemplate>
                                    <cc1:Editor ID="ed9" Width="680px" Height="350px" runat="server" NoUnicode="true"/>
                                </ContentTemplate>
                            </ajaxtoolkit:TabPanel>


                        </ajaxtoolkit:TabContainer>

                        <br />
                        <asp:Button ID="btnSalvar" runat="server" Text="Salvar" CssClass="btnGeralAzul" OnClick="btnSalvar_Click" />
                        <asp:Button ID="btnAtualizar" runat="server" Text="Atualizar" CssClass="btnGeralAzul" OnClick="btnAtualizar_Click" Visible="False" />
                        <asp:Label ID="lblMsgCadDescr" runat="server" CssClass="MsgErro" Text="" />
                    </fieldset>

                </ContentTemplate>
            </asp:UpdatePanel>

            <div id="UpdateProgress"
                    style="position: absolute; z-index: 1; left: 50%; top: 50%;">
                    <asp:UpdateProgress ID="preLoading" runat="server"
                        AssociatedUpdatePanelID="">
                        <ProgressTemplate>

                            <asp:Image ID="imgLoading" runat="server"
                                ImageUrl="~/Images/ajax-loaderG.gif" />

                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </div>

        </div>

    </form>
</body>
</html>
